/* Layout */
import Layout from '@/layout/index.vue'
export const allReuseDetailAsyncRoutes = [
  {
    path: '/asset',
    component: Layout,
    children: [
      {
        path: 'detail/:id',
        component: () => import('@/views/core/asset/detail/index.vue'),
        name: 'coreAssetDetail',
        meta: {
          title: '资产详情',
          noCache: false,
          hide: true,
          activeMenu: '/core/asset/onloanList',
          showTooltip: true,
          showTooltipContent: '资产编号：'
        }
      }
    ]
  },
  {
    path: '/org',
    component: Layout,
    children: [
      {
        path: 'detail/:id',
        component: () => import('@/views/channel/org/detail/index.vue'),
        name: 'orgDetail',
        meta: {
          title: '机构详情',
          noCache: false,
          hide: true,
          activeMenu: '/channel/org/orgList',
          showTooltip: false,
          showTooltipContent: '资产编号：'
        }
      }
    ]
  },
  {
    path: '/product',
    component: Layout,
    children: [
      {
        path: 'detail/:id',
        component: () => import('@/views/core/product/detail/index.vue'),
        name: 'coreProductDetail',
        meta: {
          title: '产品详情',
          noCache: true,
          hide: true,
          activeMenu: '/core/product/productList',
          showTooltip: true,
          showTooltipContent: '产品id：'
        }
      }
    ]
  },
  {
    path: '/account',
    component: Layout,
    children: [
      {
        path: 'detail/:id',
        component: () => import('@/views/core/account/detail/index.vue'),
        name: 'coreAccountDetail',
        meta: {
          title: '客户详情',
          noCache: true,
          hide: true,
          activeMenu: '/core/account/accountList',
          showTooltip: true,
          showTooltipContent: '客户编码：'
        }
      }
    ]
  },
  {
    path: '/core/accounting',
    component: Layout,
    children: [
      {
        path: 'detail/:id',
        component: () =>
          import('@/views/core/accounting/reconciliation/detail/index.vue'),
        name: 'coreAccountingDetail',
        meta: {
          title: '对账失败数据',
          noCache: true,
          hide: true,
          activeMenu: '/core/accounting/reconciliation/record',
          showTooltip: true,
          showTooltipContent: '失败数据：'
        }
      }
    ]
  },
  {
    path: '/finance-store/org-man',
    component: Layout,
    children: [
      {
        path: 'product-detail/:id',
        component: () =>
          import('@/views/finance-store/org-man/product-detail/index.vue'),
        name: 'financeOrgProductDetail',
        meta: {
          title: '金融微店产品详情',
          noCache: true,
          hide: true,
          activeMenu: '/finance-store/org-man/productList',
          showTooltip: true,
          showTooltipContent: '失败数据：'
        }
      }
    ]
  },
  {
    path: '/finance-store/customer-man',
    component: Layout,
    children: [
      {
        path: 'customer-detail/:id',
        component: () =>
          import(
            '@/views/finance-store/customer-man/customer-detail/index.vue'
          ),
        name: 'financeCustomerDetail',
        meta: {
          title: '金融微店客户详情',
          noCache: true,
          hide: true,
          activeMenu: '/finance-store/customer-man/customerList',
          showTooltip: true,
          showTooltipContent: '失败数据：'
        }
      }
    ]
  },
  {
    path: '/finance-store/customer-man',
    component: Layout,
    children: [
      {
        path: 'user-appointment-detail/:id',
        component: () =>
          import(
            '@/views/finance-store/customer-man/user-appointment-detail/index.vue'
          ),
        name: 'financeUserAppointmentDetail',
        meta: {
          title: '金融微店预约详情',
          noCache: true,
          hide: true,
          activeMenu: '/finance-store/org-man/productList',
          showTooltip: true,
          showTooltipContent: '失败数据：'
        }
      }
    ]
  }
]
